<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>滑块</title>
  <link rel="stylesheet" href="layui-v2.6.8/layui/css/layui.css">
</head>

<body>
  <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
    <legend>显示完整功能</legend>
  </fieldset>
   
  <div id="demo7"></div>
  <script src="./layui-v2.6.8/layui/layui.js"></script>
  <script>
    layui.use(['laypage', 'layer'], function () {
      var laypage = layui.laypage,
        layer = layui.layer;
      //将一段数组分页展示

      //完整功能
      laypage.render({
        elem: 'demo7',
        count: 100,
        layout: ['count', 'prev', 'page', 'next', 'limit', 'refresh', 'skip'],
        jump: function (obj) {
          console.log(obj)
        }
      });





    });
  </script>
</body>

</html>